projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2476d35
)
bgo#658600 - Don't try to focus the location entry in Recent-files mode
author
Federico Mena Quintero
<federico@gnome.org>
Tue, 13 Sep 2011 20:23:33 +0000
(15:23 -0500)
committer
Federico Mena Quintero
<federico@gnome.org>
Tue, 13 Sep 2011 20:24:29 +0000
(15:24 -0500)
We don't ever start up in Search mode, so we don't need an extra check for that mode, yet.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkfilechooserdefault.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserdefault.c
b/gtk/gtkfilechooserdefault.c
index d7c1ebf2290f6664cc1c11818aa4997e88c94dbe..478ab27584c55c0e2cd2abb2aae6d6b47751f6fa 100644
(file)
--- a/
gtk/gtkfilechooserdefault.c
+++ b/
gtk/gtkfilechooserdefault.c
@@
-9023,7
+9023,8
@@
gtk_file_chooser_default_initial_focus (GtkFileChooserEmbed *chooser_embed)
if (impl->action == GTK_FILE_CHOOSER_ACTION_OPEN ||
impl->action == GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
{
- if (impl->location_mode == LOCATION_MODE_PATH_BAR)
+ if (impl->location_mode == LOCATION_MODE_PATH_BAR
+ || impl->operation_mode == OPERATION_MODE_RECENT)
widget = impl->browse_files_tree_view;
else
widget = impl->location_entry;